package com.qingke.practise;

public class Addition {
	
	public int add(int num1,int num2){
		return num1+num2;
	}
	
	public long add(long num1,long num2){
		return num1+num2;
	}
	
	public float add(float num1,float num2){
		return num1+num2;
	}
	
	public double add(double num1,double num2){
		return num1+num2;
	}
	
	public String add(String num1,String num2){
		return num1+num2;
	}

	public static void main(String[]args){
		Addition addition=new Addition();
		System.out.println(addition.add(10, 10));
		System.out.println(addition.add(1.26, 0.23));
	}
}
